:modal.dialog {
  padding: 0;
  border: 1px solid gray;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);

  &::backdrop {
    opacity: 0;
  }

  &.backdrop::backdrop {
    background-color: black;
    opacity: 0.5;
  }

  section {
    padding: 1rem;
  }

  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;

    h2 {
      margin: 0;
    }

    button {
      background-color: transparent;
      border: 1px solid lightgray;
    }
  }

  footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 2rem;

    button {
      margin-left: 1rem;
    }
  }

  .dialog-content {
    padding: 1rem;
  }
}

.form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: larger;
  margin: 3rem 0;

  > div {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  button {
    margin-top: 1rem;
  }
}
